package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastEnshrine implements Serializable {
    private Integer id;

    private Integer cid;

    private Date createtime;

    private String name;

    private Integer shopid;

    private String shopname;

    private String mobile;

    private String openid;

    private Integer type;

    private String imgpath;

    private BigDecimal startpay;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastEnshrine withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public RunfastEnshrine withCid(Integer cid) {
        this.setCid(cid);
        return this;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastEnshrine withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getName() {
        return name;
    }

    public RunfastEnshrine withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getShopid() {
        return shopid;
    }

    public RunfastEnshrine withShopid(Integer shopid) {
        this.setShopid(shopid);
        return this;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }

    public String getShopname() {
        return shopname;
    }

    public RunfastEnshrine withShopname(String shopname) {
        this.setShopname(shopname);
        return this;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname == null ? null : shopname.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public RunfastEnshrine withMobile(String mobile) {
        this.setMobile(mobile);
        return this;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getOpenid() {
        return openid;
    }

    public RunfastEnshrine withOpenid(String openid) {
        this.setOpenid(openid);
        return this;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public Integer getType() {
        return type;
    }

    public RunfastEnshrine withType(Integer type) {
        this.setType(type);
        return this;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getImgpath() {
        return imgpath;
    }

    public RunfastEnshrine withImgpath(String imgpath) {
        this.setImgpath(imgpath);
        return this;
    }

    public void setImgpath(String imgpath) {
        this.imgpath = imgpath == null ? null : imgpath.trim();
    }

    public BigDecimal getStartpay() {
        return startpay;
    }

    public RunfastEnshrine withStartpay(BigDecimal startpay) {
        this.setStartpay(startpay);
        return this;
    }

    public void setStartpay(BigDecimal startpay) {
        this.startpay = startpay;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cid=").append(cid);
        sb.append(", createtime=").append(createtime);
        sb.append(", name=").append(name);
        sb.append(", shopid=").append(shopid);
        sb.append(", shopname=").append(shopname);
        sb.append(", mobile=").append(mobile);
        sb.append(", openid=").append(openid);
        sb.append(", type=").append(type);
        sb.append(", imgpath=").append(imgpath);
        sb.append(", startpay=").append(startpay);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}